<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="../../tpl/head.jsp"%>
<link rel="stylesheet" href="statics/css/secondarytitle.css">
<link rel="stylesheet" href="statics/css/ExportBusiness/tpl/newupshipmentdetails.css">
<div class="layui-fluid">
    <div class="layui-card">
        <div class="header">
            <img class="img " src="statics/images/titheader.svg">
            <span>清关明细</span>
        </div>
        <div class="layui-card-body">
            <form class="layui-form" action="" lay-filter="editor-form" id="editor-form">
                <%--                start--%>
                <dl class="layui-row sk_row">
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            客户名称
                        </div>
                        <div class="layui-col-xs8"><input type="text" name="customername" autocomplete="off" class="layui-input"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            发票日期
                        </div>
                        <div class="layui-col-xs8"> <input type="text" name="idate" lay-verify="required|date" autocomplete="off" class="layui-input starttime" placeholder="年 - 月 - 日"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            出运日期
                        </div>
                        <div class="layui-col-xs8"> <input type="text" name="shdate" lay-verify="required|date" autocomplete="off" class="layui-input starttime" placeholder="年 - 月 - 日"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            预计收汇日期
                        </div>
                        <div class="layui-col-xs8"> <input type="text" name="edrdate" lay-verify="required|date" autocomplete="off" class="layui-input starttime" placeholder="年 - 月 - 日"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            <text>发票号码</text>
                        </div>
                        <div class="layui-col-xs8"> <input type="text" name="invoicenumber" autocomplete="off" class="layui-input" lay-verify="required"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            <text>币种</text>
                        </div>
                        <div class="layui-col-xs8"> <input type="text" name="currency" autocomplete="off" class="layui-input"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            <text>美金汇率</text>
                        </div>
                        <div class="layui-col-xs8"> <input type="text" name="exchangerate" autocomplete="off" class="layui-input" lay-verify="required|number"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            <text>人民币汇率</text>
                        </div>
                        <div class="layui-col-xs8"> <input type="text" name="rmbexchangerate" autocomplete="off" class="layui-input" lay-verify="required|number"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            起运地
                        </div>
                        <div class="layui-col-xs8"><input type="text" name="place" id="place" autocomplete="off" class="layui-input"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            目的地
                        </div>
                        <div class="layui-col-xs8"><input type="text" name="destination" id="destination"  autocomplete="off" class="layui-input"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            清关方式
                        </div>
                        <div class="layui-col-xs8"><input type="text" name="settlementway" autocomplete="off" class="layui-input"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            价格术语
                        </div>
                        <div class="layui-col-xs8"> <input type="text" name="priceterms" autocomplete="off" class="layui-input"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            发票总额
                        </div>
                        <div class="layui-col-xs8"> <input type="text" name="invoicetotalamount" autocomplete="off" class="layui-input" lay-verify="number"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            销售合同号
                        </div>
                        <div class="layui-col-xs8"><input type="text" name="salescontractno" autocomplete="off" class="layui-input"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            客户合同号
                        </div>
                        <div class="layui-col-xs8"> <input class="layui-input" type="text"  name="customercontractno" autocomplete="off"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            业务员
                        </div>
                        <div class="layui-col-xs8"> <input type="text" name="salesman" autocomplete="off"   class="layui-input"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            业务模式
                        </div>
                        <div class="layui-col-xs8"><input type="text" name="businessmodel" autocomplete="off" class="layui-input"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            As Per IN No
                        </div>
                        <div class="layui-col-xs8"><input type="text" name="asperinno" autocomplete="off" class="layui-input"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            仓库
                        </div>
                        <div class="layui-col-xs8"><input type="text" name="warehouse" autocomplete="off" class="layui-input"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            逾期
                        </div>
                        <div class="layui-col-xs8"><input type="text" name="withinlimit" autocomplete="off" class="layui-input"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            账期
                        </div>
                        <div class="layui-col-xs8"><input type="text" name="containertype" autocomplete="off" class="layui-input" lay-verify="number"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            签约公司
                        </div>
                        <div class="layui-col-xs8"><input type="text" name="signingcompany" autocomplete="off" class="layui-input"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            银行
                        </div>
                        <div class="layui-col-xs8"><input type="text" name="bank" autocomplete="off" class="layui-input"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            操作员
                        </div>
                        <div class="layui-col-xs8"><input type="text" name="theoperator" autocomplete="off" class="layui-input"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            关税总金额
                        </div>
                        <div class="layui-col-xs8"><input type="text" name="totaltariffamount" autocomplete="off" class="layui-input" lay-verify="number"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            实际开船日期ATD
                        </div>
                        <div class="layui-col-xs8"> <input type="text" name="actualdischargedateatd" id="actualdischargedateatd" lay-verify="date" autocomplete="off" class="layui-input starttime" placeholder="年 - 月 - 日"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            进仓装柜日期
                        </div>
                        <div class="layui-col-xs8">  <input type="text" name="wldate" id="wldate" lay-verify="date" autocomplete="off" class="layui-input starttime" placeholder="年 - 月 - 日"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            是否走信保订单
                        </div>
                        <div class="layui-col-xs8"><input type="text" name="clear_1" autocomplete="off" style="background-color: lightgray"  class="layui-input"  readonly="readonly"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            信保订单金额USD
                        </div>
                        <div class="layui-col-xs8"><input type="text" name="clear_2" autocomplete="off" style="background-color: lightgray"  class="layui-input"  readonly="readonly"></div>
                    </dd>
                </dl>
                <%--                over--%>

                <div class="layui-row">
                    <div class="layui-col-xs12">
                        <div class="layui-tab layui-tab-card">
                            <ul class="layui-tab-title">
                                <li class="layui-this">产品</li>
                                <li class="">费用</li>
                                <li class="">附件</li>
                                <li class="">日志</li>
                            </ul>
                            <div class="layui-tab-content">
                                <div  class="layui-tab-item  layui-show">
                                    <table class="layui-table" id="storageproducts" lay-filter="storageproductstable"></table>

                                    <div class="layui-tab layui-tab-card" id="hidden">
                                        <ul class="layui-tab-title">
                                            <li class="layui-this">产品规格配件</li>
                                        </ul>
                                        <div class="layui-tab-content">
                                            <div class="layui-tab-item layui-show">
                                                <table class="layui-table" id="productsaselect" lay-filter="productsatable"></table>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="layui-tab-item">
                                    <table class="layui-table" id="cost" lay-filter="costtable"></table>
                                </div>
                                <div class="layui-tab-item">
                                    <table class="layui-table" id="attachment" lay-filter="attachmenttable"></table>
                                </div>
                                <div class="layui-tab-item"><table class="layui-table" id="otherwarehouselog" lay-filter="logtable"></table></div>
                            </div>
                        </div>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
<script type="text/html" id="attachmenteditor">
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="download">下载</a>
</script>

<script type="text/html" id="costtypeselect">

    <%--    <select id="costType" name="dictName" lay-filter="dictName" data-value="{{d.name}}">--%>
    <%--     --%>
    <%--    </select>--%>

    <select id="costType" class="costType" name="costtypeselect" lay-filter="costtypeselect_filter">
        <%--     {{#  if(d.costType){ }}--%>
        <%--     <a href="/detail/{{d.id}}" class="layui-table-link">{{d.title}}</a>--%>
        <%--     {{#  } else { }}--%>
        <%--     {{d.title}}(普通用户)--%>
        <%--     {{#  } }}--%>
        <%--         <option value="{{d.costType}}" >{{d.costType==undefined?"":d.costType}}</option>--%>
    </select>
</script>
<%@ include file="../../tpl/foot.jsp"%>
<script src="statics/js/ExportBusiness/tpl/billClearShow.js"></script>